package xine.demo.ssm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import xine.demo.ssm.dao.BaseDao;
import xine.demo.ssm.dao.UserDao;
import xine.demo.ssm.service.UserService;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public List getWithContition() {
        return userDao.queryAll();
    }
}
